package com.hdoit.apollo.logical.stock.model;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import javax.persistence.Entity;

import com.hdoit.apollo.logical.cargo.model.Collocation;
import com.tennetcn.data.message.ModelBase;
/**
 * @author      humaoshu
 * @email       
 * @createtime  2018年04月02日 11:45:46
 * @comment
 */
@Entity
@Table(name="stock_collocation")
public class StockCollocation extends ModelBase{
    //id
    @Id
    @Column(name="stockCollocationId")
    private String stockCollocationId;

    //货物规格属性搭配表Id
    @Column(name="collocationId")
    private String collocationId;

    //库存Id
    @Column(name="stockId")
    private String stockId;

    //库存数
    @Column(name="collocationNum")
    private Double collocationNum;

    //尚欠数
    @Column(name="collocationDebt")
    private Double collocationDebt;

    //门店id
    @Column(name="shopId")
    private String shopId;

    //创建时间
    @Column(name="createDate")
    private Date createDate;

    //创建人id
    @Column(name="createUserId")
    private String createUserId;

    //创建人名称
    @Column(name="createUserName")
    private String createUserName;

    //修改时间
    @Column(name="modifyDate")
    private Date modifyDate;

    //修改人id
    @Column(name="modifyUserId")
    private String modifyUserId;

    //修改人名称
    @Column(name="modifyUserName")
    private String modifyUserName;

    //删除标记
    @Column(name="deleteMark")
    private Integer deleteMark;
    
    //备注
    @Column(name="comment")
    private String comment;
    
    @Transient
    private Collocation collocation;
    
    @Transient
    private String salesVolume;
    
    @Transient
    private String debtNum;
    
    
    public Collocation getCollocation() {
		return collocation;
	}
	public void setCollocation(Collocation collocation) {
		this.collocation = collocation;
	}
	public String getComment() {
		return comment;
	}
	public void setComment(String comment) {
		this.comment = comment;
	}

    public String getStockCollocationId(){
        return this.stockCollocationId;
    }
    public void setStockCollocationId(String stockCollocationId){
         this.stockCollocationId=stockCollocationId;
    }

    public String getCollocationId(){
        return this.collocationId;
    }
    public void setCollocationId(String collocationId){
         this.collocationId=collocationId;
    }

    public String getStockId(){
        return this.stockId;
    }
    public void setStockId(String stockId){
         this.stockId=stockId;
    }

    public Double getCollocationNum(){
        return this.collocationNum;
    }
    public void setCollocationNum(Double collocationNum){
         this.collocationNum=collocationNum;
    }

    public Double getCollocationDebt(){
        return this.collocationDebt;
    }
    public void setCollocationDebt(Double collocationDebt){
         this.collocationDebt=collocationDebt;
    }

    public String getShopId(){
        return this.shopId;
    }
    public void setShopId(String shopId){
         this.shopId=shopId;
    }

    public Date getCreateDate(){
        return this.createDate;
    }
    public void setCreateDate(Date createDate){
         this.createDate=createDate;
    }

    public String getCreateUserId(){
        return this.createUserId;
    }
    public void setCreateUserId(String createUserId){
         this.createUserId=createUserId;
    }

    public String getCreateUserName(){
        return this.createUserName;
    }
    public void setCreateUserName(String createUserName){
         this.createUserName=createUserName;
    }

    public Date getModifyDate(){
        return this.modifyDate;
    }
    public void setModifyDate(Date modifyDate){
         this.modifyDate=modifyDate;
    }

    public String getModifyUserId(){
        return this.modifyUserId;
    }
    public void setModifyUserId(String modifyUserId){
         this.modifyUserId=modifyUserId;
    }

    public String getModifyUserName(){
        return this.modifyUserName;
    }
    public void setModifyUserName(String modifyUserName){
         this.modifyUserName=modifyUserName;
    }

    public Integer getDeleteMark(){
        return this.deleteMark;
    }
    public void setDeleteMark(Integer deleteMark){
         this.deleteMark=deleteMark;
    }
	public String getSalesVolume() {
		return salesVolume;
	}
	public void setSalesVolume(String salesVolume) {
		this.salesVolume = salesVolume;
	}
	public String getDebtNum() {
		return debtNum;
	}
	public void setDebtNum(String debtNum) {
		this.debtNum = debtNum;
	}

}